/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.facade;


import info.peigen.hotpot.business.customer.facade.order.partner.PartnerApplyPermissionOrder;
import info.peigen.hotpot.business.customer.facade.order.partner.PartnerApplyTechOrder;
import info.peigen.hotpot.business.customer.facade.order.partner.PartnerCreateOrder;
import info.peigen.hotpot.business.customer.facade.result.partner.PartnerApplyPermissionResult;
import info.peigen.hotpot.business.customer.facade.result.partner.PartnerApplyTechResult;
import info.peigen.hotpot.business.customer.facade.result.partner.PartnerCreateResult;

/**
 * <b>(PartnerServiceFacade)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
public interface PartnerServiceFacade {
    /**
     * 合作伙伴注册
     *
     * @param order PartnerRegisterOrder
     *
     * @return PartnerRegisterResult
     */
    PartnerCreateResult register(PartnerCreateOrder order);

    /**
     * 合作伙伴申请api权限
     *
     * @param order
     *
     * @return
     */
    PartnerApplyPermissionResult applyPermission(PartnerApplyPermissionOrder order);

    /**
     * 合作伙伴申请api权限
     *
     * @param order
     *
     * @return
     */
    PartnerApplyTechResult applyTech(PartnerApplyTechOrder order);
}
